<template>
  <el-container>
    <el-aside width="auto">
      <!-- navmenu导航菜单 -->
      <common-aside />
    </el-aside>
    <el-container>
      <el-header>
        <!-- header组件 -->
        <common-header />
      </el-header>
      <el-main>
        <!-- 组件路由出口 -->
        <router-view></router-view>
      </el-main>
    </el-container>
  </el-container>
</template>

<style scoped>
.el-header {
  padding: 0;
}
</style>

<script>
// 引入导航菜单组件
import CommonAside from "../components/CommonAside.vue";
import CommonHeader from "../components/CommonHeader.vue";
// 引入Header组件

// 引入header组件

export default {
  data() {
    return {};
  },
  components: {
    CommonAside,
    CommonHeader,
  },
};
</script>